package com.lanxin.jet.mappers;

import java.util.List;

import com.lanxin.jet.beans.UserBean;
import com.lanxin.jet.tools.JetCriteria;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    public void insert(UserBean user);
    public int count(JetCriteria criteria);
    public UserBean query(String id);
    public List<UserBean> queryAll(JetCriteria criteria);
    public int update(UserBean user);
    public int delete(String id);

    public UserBean queryByAccount(String account);
}